<template>
	<view>
		<baseHead title="基本设置" bg="#ffffff" color="#000000"></baseHead>
		<view style="background-color: #ffffff; margin-top: 20rpx">
			<u-cell-group>
				<u-cell isLink title="企业主页" @click=" cletojibenshezhi"></u-cell>
				<u-cell isLink title="企业认证" @click="clicknavigateto"></u-cell>
				<u-cell isLink title="常用语管理" @click="cletojdsdihezhi"></u-cell>
				<!-- <u-cell isLink title="注销企业" url="/pages/views/packageB/type-jobhunting/jibenshezhi/jibenziliao/logOff"></u-cell> -->
				<u-cell isLink title="修改密码" @click="modifyPassword"></u-cell>
				<!-- <u-cell isLink title="退出登录" @click="tuicu"></u-cell> -->
				<u-cell  title="版本号" :value="setProperty" ></u-cell>
			</u-cell-group>
			
			
			<view class="tubutcss">
				<view class="tubnrs" @click="tuicu">
					退出登录</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	import baseHead from "@/pages/component/baseHead.vue";
	
	export default {
		data() {
			return {
				// 版本信息
				setProperty: uni.getStorageSync('setProperty').version,
			};
		},
		components: {
			baseHead,
		},
		onReachBottom() {},
		created() {},
		methods: {
			tuicu() {
				let that=this;
				
				uni.showModal({
					title: "提示",
					content: "确认退出登录吗",
					success: function(res) {
						if (res.confirm) {
							
							that.$util.tuiculogout();
							
						}
					}
				})
			},
			
			
			
			cletojibenshezhi() {
				uni.navigateTo({
					url: "/pages/views/packageB/type-recruit/jibenshezhi/index",
				});
			},

			cletojdsdihezhi() {
				uni.navigateTo({
					url: "/pages/views/packageB/type-recruit/jibenshezhi/renzhen/changyongyu",
				});
			},


			clicknavigateto() {
				let qyid = uni.getStorageSync("dianjiqiye");
				uni.navigateTo({
					url: "/pages/views/packageB/type-recruit/jibenshezhi/renzhen/qiyei_renzheng?ids=" +
						qyid.Id,
				});
			},
			
			//修改密码
			modifyPassword(){
				uni.navigateTo({
					url: "/pages/Login/forgetYourPassword?id=1",
				});
			},
			
			// clickfeedback(){
			// 	let qyid = uni.getStorageSync("dianjiqiye");
			// 	uni.navigateTo({
			// 		// url: "/pages/views/packageB/type-recruit/jibenshezhi/feedback/feedback?ids=" +qyid.Id,
			// 		url:`/pages/views/packageB/type-recruit/jibenshezhi/feedback/feedback?ids=${qyid.Id}&corpname=${qyid.FullName}`
			// 	});
			// },
		},
	};
</script>

<style lang="scss" scoped>
	.tubutcss {
		position: fixed;
		bottom: 100rpx;
		width: 100%;
		padding: 40rpx;
		box-sizing: border-box;
	
		.tubnrs {
			width: 100%;
			color: #ffffff;
			text-align: center;
			background-color: #1684FC;
			padding: 20rpx;
			box-sizing: border-box;
			border-radius: 10rpx;
		}
	}
</style>